package main

import "fmt"

struct person {
	var Id int;
	var name string;
}

struct student {
	person
	var school string;
	var teacher string;
}

func main() {
	var xm student = {person:{Id:1001,name:"小明"},school:"xx中学",teacher:"x老师"};
}